import React,{lazy} from 'react'
const Home=lazy(()=>import('../pages/home'))
const List=lazy(()=>import('../pages/list'))
const Text=lazy(()=>import('../pages/text'))
const Login=lazy(()=>import('../pages/login'))
export default [{
    path:'/',
    element:<Home></Home>
},{
    path:'/home:name',
    element:<Home></Home>
},{
    path:'/list',
    element:<List></List>
},{
    path:'/text',
    element:<Text></Text>
},{
    path:'/login',
    element:<Login></Login>
},]